Skip to content

feat: implement user notification preferences (#26)#110

Merged
Abd-Standard merged 2 commits into
Core-Foundry:mainfrom
Anichris-koded:feat/user-notification-preferences
Jun 20, 2026
Merged

feat: implement user notification preferences (#26)#110
Abd-Standard merged 2 commits into
Core-Foundry:mainfrom
Anichris-koded:feat/user-notification-preferences

Conversation

@Anichris-koded

Copy link
Copy Markdown
Contributor

Closes #26\n\nImplements preference store, API endpoints, and gating of notifications per user. Includes tests and docs in listener/API.md.

- Add PreferenceStore with get/update/isCategoryEnabled methods
- Add GET /api/preferences/:userId and PUT /api/preferences/:userId endpoints
- Gate Discord notifications in EventSubscriber on user preferences
- Add optional userId field to ContractConfig for per-contract preference binding
- Add 23 tests covering store, API endpoints, and notification gate
- Add listener/API.md documenting all endpoints
@Abd-Standard Abd-Standard merged commit ea266a3 into Core-Foundry:main Jun 20, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement User Notification Preferences

2 participants